var a = getApp();

Page({
    data: {
        statusBarHeight: a.globalData.statusBarHeight,
        headImg: "",
        correct: 0,
        type: 1
    },
    onLoad: function(t) {
        this.setData({
            headImg: a.globalData.userInfo.headImg,
            correct: t.correct,
            type: t.type
        });
    },
    goback: function() {
        wx.switchTab({
            url: "/pages/answer/answer"
        });
    }
});